<div id='current_position'>
<?php 
$cat_id=get_query_var('cat');
$page_path=get_cat_relationship($cat_id);
for($i=0;$i<count($page_path);$i++){
    if($i!=0){
      echo "<span class='page_path_split split_color".$i."'></span>";
    }
    echo "<span class='page_path_name'>".$page_path[$i]."</span>";
}
?>
</div>